From 38bf3dafa79223932db7980d458fe676c86e7cdf Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 22 Jul 2002 16:12:31 +0000 Subject: [PATCH] (display_line): Replace an unconditional abort with an assertion. --- src/xdisp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 4e52d39c908..cf538ed9241 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13229,9 +13229,10 @@ display_line (it) { /* Glyph is completely off the left margin of the window. This should not happen because of the - move_it_in_display_line at the start of - this function. */ - abort (); + move_it_in_display_line at the start of this + function, unless the text display area of the + window is empty. */ + xassert (it->first_visible_x <= it->last_visible_x); } } -- 2.30.2